package sh.wn36.vehiclemanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="InspectionRecord对象", description="")
public class InspectionRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer carId;

    private String insNo;
    @DateTimeFormat(pattern = "yyyy-MM-dd")  //-- 入参格式化
    @JsonFormat(timezone = "GMT+8" ,pattern = "yyyy-MM-dd")
    private Date insDate;

    private Double insAmount;

    private Integer vaoId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")  //-- 入参格式化
    @JsonFormat(timezone = "GMT+8" ,pattern = "yyyy-MM-dd")
    private Date expireDate;

    private Integer operator;

    private String remarks;


}
